package com.mall.users.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.model.domain.UmsRoleMenuRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LQJdeDELL
* @description 针对表【ums_role_menu_relation(后台角色菜单关系表)】的数据库操作Mapper
* @createDate 2023-03-09 22:29:16
* @Entity generator.domain.UmsRoleMenuRelation
*/
public interface UmsRoleMenuRelationMapper extends BaseMapper<UmsRoleMenuRelation> {


    List<Long> selectByRoleIds(@Param("roleIds") List<Long> roleIds);


    void deleteByRoleIds(@Param("roleIds") List<Long> roleIds);


    void save(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);
}




